package com.wanxi.dangdang.service;

import com.wanxi.dangdang.model.pojo.CUser;
import com.wanxi.dangdang.model.vo.CUserCheckVo;
import com.wanxi.dangdang.model.vo.LoginVo;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/6 0006
 * @Version: 1.0
 */
public interface WeChatService {

    HashMap<String, String> loginPassOrRegister(LoginVo loginVo);
    HashMap<String, String> loginCode(LoginVo loginVo);
    void getPhoneCode(String phone) throws Exception;
    CUserCheckVo checkAccount(String account);
    CUser findById(Long id);
}
